<template>
    <div>
        <ul >
            <li class="url_con" v-for="item in CommentListMjs" :key="item">
                 <img :src="item">
            </li>
        </ul>
    </div>
</template>
<style>
   .url_con{
       width: 80%;
       max-height: 400px;
       margin:15px auto;
       
   } 
   .url_con img{
       width: 100%;
   }
</style>
 
<script>
export default {
    data () {
        return {
            pingl:this.$route.query.pinglunID,
            CommentListMjs:{}
        }
    },
    mounted(){
        this.xiuxiu()
    },
    methods:{
          xiuxiu(){//咻咻咻
            this.$http.get(this.APIURL_PREFIX+"/api/wap/commentXx/getOne",{ params:{id:this.pingl}}).then((response) => {
              
                 this.CommentListMjs = response.data.data.imgContent;
                 this.CommentListMjs= this.CommentListMjs.split(",");
                 console.log(this.CommentListMjs)
            }).catch(function(err){
                 console.log(err)
            })
       },
    }
}
</script>
